/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.task.common.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.task.common.entity.Task;
import com.thinkgem.jeesite.modules.task.common.dao.TaskDao;

/**
 * 统计考勤定时任务Service
 * @author 郑晓乐
 * @version 2017-07-24
 */
@Service("kqTask")
@Transactional(readOnly = true)
public class TaskService extends CrudService<TaskDao, Task> {

	public Task get(String id) {
		return super.get(id);
	}
	
	public List<Task> findList(Task task) {
		return super.findList(task);
	}
	
	public Page<Task> findPage(Page<Task> page, Task task) {
		return super.findPage(page, task);
	}
	
	@Transactional(readOnly = false)
	public void save(Task task) {
		super.save(task);
	}
	
	@Transactional(readOnly = false)
	public void delete(Task task) {
		super.delete(task);
	}
	
}